﻿using System;
using Command.Consumer.WorkerService;

namespace Command.Consumer
{
    class Program
    {
        static void Main(string[] args)
        {
            using (var client = new WorkerServiceClient() )
            {
                var command = new TestCommand { Value = "alessandro" };
                var response = (TestResponse)client.Execute(command);

                Console.WriteLine(response.Result);
            }
        }
    }
}
